using System.Data;

namespace RBAC.Interstructrue.Base
{
    public interface IDbConnectionFactory
    {
        IDbConnection CreateConnection();
        IDbConnection CreateConnectionWithRetry(int maxRetries = 3, int delayMs = 1000);
    }
} 